Optimal. Leaf size=45 \[ a^2 A x+\frac {2}{3} a A c x^3+\frac {1}{5} A c^2 x^5+\frac {B \left (a+c x^2\right )^3}{6 c} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {655, 200}
\begin {gather*} a^2 A x+\frac {2}{3} a A c x^3+\frac {B \left (a+c x^2\right )^3}{6 c}+\frac {1}{5} A c^2 x^5 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 200
Rule 655
Rubi steps
\begin {align*} \int (A+B x) \left (a+c x^2\right )^2 \, dx &=\frac {B \left (a+c x^2\right )^3}{6 c}+A \int \left (a+c x^2\right )^2 \, dx\\ &=\frac {B \left (a+c x^2\right )^3}{6 c}+A \int \left (a^2+2 a c x^2+c^2 x^4\right ) \, dx\\ &=a^2 A x+\frac {2}{3} a A c x^3+\frac {1}{5} A c^2 x^5+\frac {B \left (a+c x^2\right )^3}{6 c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 60, normalized size = 1.33 \begin {gather*} a^2 A x+\frac {1}{2} a^2 B x^2+\frac {2}{3} a A c x^3+\frac {1}{2} a B c x^4+\frac {1}{5} A c^2 x^5+\frac {1}{6} B c^2 x^6 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.58, size = 51, normalized size = 1.13
method | result | size |
gosper | \(\frac {1}{6} B \,c^{2} x^{6}+\frac {1}{5} A \,c^{2} x^{5}+\frac {1}{2} B a c \,x^{4}+\frac {2}{3} a A c \,x^{3}+\frac {1}{2} B \,a^{2} x^{2}+a^{2} A x\) | \(51\) |
default | \(\frac {1}{6} B \,c^{2} x^{6}+\frac {1}{5} A \,c^{2} x^{5}+\frac {1}{2} B a c \,x^{4}+\frac {2}{3} a A c \,x^{3}+\frac {1}{2} B \,a^{2} x^{2}+a^{2} A x\) | \(51\) |
norman | \(\frac {1}{6} B \,c^{2} x^{6}+\frac {1}{5} A \,c^{2} x^{5}+\frac {1}{2} B a c \,x^{4}+\frac {2}{3} a A c \,x^{3}+\frac {1}{2} B \,a^{2} x^{2}+a^{2} A x\) | \(51\) |
risch | \(\frac {1}{6} B \,c^{2} x^{6}+\frac {1}{5} A \,c^{2} x^{5}+\frac {1}{2} B a c \,x^{4}+\frac {2}{3} a A c \,x^{3}+\frac {1}{2} B \,a^{2} x^{2}+a^{2} A x\) | \(51\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 50, normalized size = 1.11 \begin {gather*} \frac {1}{6} \, B c^{2} x^{6} + \frac {1}{5} \, A c^{2} x^{5} + \frac {1}{2} \, B a c x^{4} + \frac {2}{3} \, A a c x^{3} + \frac {1}{2} \, B a^{2} x^{2} + A a^{2} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 4.08, size = 50, normalized size = 1.11 \begin {gather*} \frac {1}{6} \, B c^{2} x^{6} + \frac {1}{5} \, A c^{2} x^{5} + \frac {1}{2} \, B a c x^{4} + \frac {2}{3} \, A a c x^{3} + \frac {1}{2} \, B a^{2} x^{2} + A a^{2} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.02, size = 58, normalized size = 1.29 \begin {gather*} A a^{2} x + \frac {2 A a c x^{3}}{3} + \frac {A c^{2} x^{5}}{5} + \frac {B a^{2} x^{2}}{2} + \frac {B a c x^{4}}{2} + \frac {B c^{2} x^{6}}{6} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.64, size = 50, normalized size = 1.11 \begin {gather*} \frac {1}{6} \, B c^{2} x^{6} + \frac {1}{5} \, A c^{2} x^{5} + \frac {1}{2} \, B a c x^{4} + \frac {2}{3} \, A a c x^{3} + \frac {1}{2} \, B a^{2} x^{2} + A a^{2} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.02, size = 50, normalized size = 1.11 \begin {gather*} \frac {B\,a^2\,x^2}{2}+A\,a^2\,x+\frac {B\,a\,c\,x^4}{2}+\frac {2\,A\,a\,c\,x^3}{3}+\frac {B\,c^2\,x^6}{6}+\frac {A\,c^2\,x^5}{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________